﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;
using System.Collections;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("nha_dat_tho_cu")]
    public class nha_dat_tho_cu_Info : ActiveRecordBase<nha_dat_tho_cu_Info>
    {
        private int _id;
        private double _gia;
        private string _so_nha;
        private string _hem;
        private string _ngach;
        private string _ngo;
        private int _duong;
        private int _phuong;
        private int _quan_huyen;
        private string _phap_ly;
        private double _dien_tich;
        private int _so_tang;
        private int _huong;
        private int _dac_diem_duong;
        private int _nam_xay_dung;
        private int _nam_cai_tao_gan_nhat;
        private string _tai_san_kem_theo_gia_ban;
        private string _mo_ta;
        private string _demo_video;
        private string _demo_ban_do;
        private int _lien_he;
        private DateTime _create_date;
        private bool _is_show_private;
        private bool _is_luu_tru;
        private string _note;

        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }

        [Property]
        public double gia
        {
            get { return _gia; }
            set { _gia = value; }
        }

       [Property]
        public string so_nha
        {
            get { return _so_nha; }
            set { _so_nha = value; }
        }

       [Property]
        public string hem
        {
            get { return _hem; }
            set { _hem = value; }
        }

        [Property]
        public string ngach
        {
            get { return _ngach; }
            set { _ngach = value; }
        }

        [Property]
        public string ngo
        {
            get { return _ngo; }
            set { _ngo = value; }
        }

        [Property]
        public int duong
        {
            get { return _duong; }
            set { _duong = value; }
        }

        [Property]
        public int phuong
        {
            get { return _phuong; }
            set { _phuong = value; }
        }
       [Property]
        public int quan_huyen
        {
            get { return _quan_huyen; }
            set { _quan_huyen = value; }
        }
         [Property]
        public string phap_ly
        {
            get { return _phap_ly; }
            set { _phap_ly = value; }
        }
        [Property]
        public double dien_tich
        {
            get { return _dien_tich; }
            set { _dien_tich = value; }
        }
        [Property]
        public int so_tang
        {
            get { return _so_tang; }
            set { _so_tang = value; }
        }
        [Property]
        public int huong
        {
            get { return _huong; }
            set { _huong = value; }
        }
        [Property]
        public int dac_diem_duong
        {
            get { return _dac_diem_duong; }
            set { _dac_diem_duong = value; }
        }
         [Property]
        public int nam_xay_dung
        {
            get { return _nam_xay_dung; }
            set { _nam_xay_dung = value; }
        }
        [Property] 
        public int nam_cai_tao_gan_nhat
        {
            get { return _nam_cai_tao_gan_nhat; }
            set { _nam_cai_tao_gan_nhat = value; }
        }
        [Property]
        public string tai_san_kem_theo_gia_ban
        {
            get { return _tai_san_kem_theo_gia_ban; }
            set { _tai_san_kem_theo_gia_ban = value; }
        }
      [Property]
        public string mo_ta
        {
            get { return _mo_ta; }
            set { _mo_ta = value; }
        }
    
      [Property]
      public string demo_video
      {
          get { return _demo_video; }
          set { _demo_video = value; }
      }
      [Property]
      public string demo_ban_do
      {
          get { return _demo_ban_do; }
          set { _demo_ban_do = value; }
      }
      [Property]
      public int lien_he
      {
          get { return _lien_he; }
          set { _lien_he = value; }
      }
      [Property]
      public DateTime create_date
      {
          get { return _create_date; }
          set { _create_date = value; }
      }
      [Property]
      public bool is_show_private
      {
          get { return _is_show_private; }
          set { _is_show_private = value; }
      }
      [Property]
      public bool is_luu_tru
      {
          get { return _is_luu_tru; }
          set { _is_luu_tru = value; }
      }
      [Property]
      public string note
      {
          get { return _note; }
          set { _note = value; }
      }
    }

     
}
